package ui;

import java.awt.Color;
import java.awt.Font;

import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class AdminDashboard extends JPanel {
	
	public AdminDashboard() {
			
		setBackground(Color.decode("#FFFFFF"));
		setLayout(null);
		
	    ImageIcon adminPanelGradient = new ImageIcon("gfx/adminPanelGradient.png");

		JLabel topPanel = new JLabel(adminPanelGradient);	
		topPanel.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, Color.decode("#CCCCCC")));
		topPanel.setBounds(0, 0, 650, 80);
		
		JLabel panelTitle = new JLabel("Dashboard");
		panelTitle.setBounds(10, 35, 650, 50);
		panelTitle.setFont(new Font("Helvetica Neue", Font.PLAIN, 28));
						
		// ADDING ELEMENTS
		add(panelTitle);
		add(topPanel);

	}

}
